Preparing release 0.4.0
pyflakes cleanup
Back to development: 0.4.1