Re-wrote fullscreen and pointer lock