Little fixes

Code tidying, Map and Tile Editor fixes, typo fixes