clean code
Merge pull request #81 from Tadimsky/Level-Editor

clean some code