Maybe you can build in a check when running BD3D2MK3D from last state and after a client or BSOD crash (imho having BSOD is a whole other ballgame and 99.9% NOT related to BD3D2MK3D)
And you have a way to detect ENCODE window is aborted? (= windows closed) As it will not execute POSTPROCESS and so not restore power scheme.
Note:
I'm not using any form of sleep/hibernation when my PC or laptop is connected to AC source unless I said so. It's the first thing I do at clean install. So personal I don't require this at all
I just want to make sure it's semi "bulletproof".