first version of range query completed

completed beta range query
changed lat and lon in the GUI
minor display changes