Implement all the features!

Relay control, improved display and error handling.