poll gpio port
fix variable scope
add version pinning for pyzmq and zc.recipe.egg
refactor event handling
fix typo
fix method
introduce simple logging