Various fixes

Commit changes for mouse click, some tab handling.