Added single map edit and some bugfixes.