Add some functions for tab management.
Merge pull request #2 from porterjamesj/tabfunctions

Add some functions for tab management.