Added a little more code to polling routine - still uncalled. PEP8 stylistic corrections.