fixed leveleditor pep8 issues