Create tabs and some other fixes.
Merge pull request #1 from jamesclyeh/tmp

Create tabs and some other fixes.