Got the build running after Gil's changes

Added backgroundIMG var (I think I was using background which is bad bad
bad, I am a terrible person) and had all calls reference that.

Fixed an else if bug with getting into the settings menu.
Made the front end click logic more efficient.

The settings menu was missing all of the calls the actually load the
images and also references non int when getting an array address. Fixed
now.