Status monitoring

This branch adds better support for voltage rails monitoring. Not intensely tested yet, and it will accumulate a few more commits.