Google Earth API cleanup + additional functionality