Making custom events simpler and more focused.
Minor cross browser style update.