better handling of fatal errors
bump version to 0.4.1