Some tab work
Work on supporting split views
Fixing tab closing and active tab events