Clean up editor sidebar, plugins can now implement EventSubscribers, add 'switch' UI widget