fix for issue # 4
https://github.com/increpare/PuzzleScript/issues/4

(also some broken level editor stuff that's WIP)