general: all the code duplication with GeoExplorer.js worries me