Merge pull request #104 from ppowalowski/master

adding middle-click event for closing open tabs
Fixed test suite.
Merge remote-tracking branch 'origin/master'
minor style changes
mode changes