The attached patch moves the "Recording in %ld minutes, shut down anyway?" confirmation into the kPower handler, where all the other shutdown confirms reside. I *hope* that this time it doesn't cause yet another regression. ;)
It works as expected by now. Shutdown is interrupted if a timer is near or a timer is running, good work!