added basic level editor
minor improvements