More work on multilayer map editor; fixed bug-to-be involving reseting map layer after rendering