log fen on exception, fixed issue with global event handler array