Map Editor

Added more functionality to the map editor; however, it's still not at a
working state yet.