Add paneType variable to pane options.
Update preview pane url and emit location changed event.
Code refactor.
Update IDE status bar when tab changed.