Lot of level editor changes and small fixes.