More useful debug logging, bump version to 0.4.1