Tried to make game render faster

Problem is with painting so many tiles.
clean code
Merge pull request #81 from Tadimsky/Level-Editor

clean some code
merging in master