move map-related variables into gMap object, move GL tile drawing into its own functi...