more refactoring for Mouse Lock API
more refactoring for Mouse Lock API

scalableminds/webknossos,scalableminds/webknossos,scalableminds/webknossos,scalableminds/webknossos,scalableminds/webknossos,scalableminds/webknossos