Renamed GlobalVariables to Globals

Renamed the GlobalVariables class to just Globas.  Refactored
accordingly.  Had to revert back again to a state where I could at least
get the emulator to work, since it seems typing any code in MainActivity
breaks the stupid thing.