Tab selection from project tree
Closing tabs
Fix for closing inactive tabs