Various fixes for version 0.3

In this PR I added a variety of changes and fixes, so we can 'release' version 0.3