Started to add editor, removed some debug prints