Revert some 1.9isms, add 'show load errors' debug, improve hook exception handling