fixed crash with holes in map

fixed animations, MovableEntities with bDirrectional = false no longer
affect their sprites animation (ie stopping it when they are not
moving). editor buttons now update live, fixed bug where new editor
buttons appeared underneth (depth) the old ones (rather than at a higher
y). Made map saving functions smarter and faster