Level editor

modified map saver, it can save images now