handle errors more consistently, fix exporting with assignment, set crap_status.st