Fixed the editor finally

Editor is now usable for the first f*cking time