PEP8 and PyFlakes fixes as well as a little more logging for #52.