Linux & Python 3.2 support.

Also some minor bugfixes.