switch from canceled chan to canceled bool
fix some errors found during testing and improve logging
added docker test and a few more logging improvements