Converted MQTT client to be based on non-blocking example and added
subscribe functionality and basic GUI that needs more work.