Bugfix tabs + minor improvements

Bugfix tabs + minor improvements
Merge pull request #31 from jslegers/master

Bugfix tabs + minor improvements