remove dead code and improve immersive mode (will only occur when user w...

...ants fullscreen)