#2 tabs mostly work. Sessionhandling on close is still missing.
#2 session management works.
[IMPROVED] misc.
Merge branch 'tabbing'