Bunch of changes to create dual-voltage monitoring, and critical voltage detection.