corrections from lubo
Merge branch 'master' of github.com:hamishcunningham/pi-gate