Fixed minor warnings
The cursor is only "captured" if the application window is active
The camera's view direction can be moved by the mouse only if the left button is pressed
The user can now switch between captured and non-captured mouse mode
The user can now switch between windowed and full screen mode