Changed gpio code to Qt.
Removed debug code.