better error handling when statefile could not be opened
update and clarify readme
bump version to 0.3.2