better tmp cleanup and error handling
bin/chuckle and tests