Closeable tabs

Adds distinction between connected and parted tabs. The app will no longer close any tabs automatically.