fix everything
fix also style
Merge pull request #4 from suhr/fix-segfault

Update to latest tox version.