sometimes I don't want braces; _ is always there
only update when page is visible so my battery doesn't get killed; fix some warnings to make jshint happy
added magicBG mappings; make direction color same as bg; a little clean up