Removed unused FullScreen config toggle
Make cursor visible when disabling mousegrab
Removed useless global variables.
Also added more asserts()