Little Fixes

code tidying, Map and Tile Editor changes, typo fixes