Bug fixes and improved usability

This pull request contains various bug fixes and improvements to usability, it bumps the version to 0.5