Refactored editor into its own controller.
Added par flashing to editor.
Refactorings.