Merged all four heater functions into one that takes two inputs.
Added timer reaching maximum to state machine handling function.
Cleaned up everything, going to build loop() next.