cleanup for gpio-client (mainapp/tools/gpio.py)