add debugging output to is_alive check
flake8 whitespace fix
Merge pull request #199 from fzylogic/master

add debugging output to is_alive check