mapped new tab, and switch between tabs
fixed error and supporting mac
Merge pull request #2 from Qlio/tab_support

shortcut for new tab, tab choose