Add some code cleanup to undo manager
Merge branch 'master' of github.com:TEdit/Terraria-Map-Editor