fixes #17; implemented drag-n-drop for saved maps; multiple refactorings