Removing immersive-mode stuff as it seems to be incompatible
Fixed a typo and made some final changes for compatibility