Updated original sources. Began with re-implementing the editor.