Fixed a few bits of code, removed the ugly border thing on the input bar...

..., reformatted a lot of stuff, and made sure the Chat button in mobile actually hides when the GUI is enabled false.