added tooltip for map coordinates
various stuff
major restructuring...