2.49 [KK 2009-03-27] - Implemented onfail hook (to complement onstart/onend, flag -y).