Minor changes to support webkit testing.
Fix for firefox
tabs, how do they work
Merge pull request #217 from shans/webkit

Minor changes to support webkit testing.