Reordering Panel code

Race conditions where panel.editor was not being created before processors were accessed
Closes #979