Event triggering improvements and debug Firefox issues.