Added compassWindow, waypointsWindow, and locationWindow to ui namespace.
Also, left a comment in geo.js for an example of how to make functions.