Improve connection handling

- Fix issue where editor would stop working properly after connecting
- Track active tabs and update connection title
- Exclude already connected tabs from list