Add title blinking on events

When there is an event, blink the title so that a user can know when an
event happens, even if they aren't on that tab. Originally from discussion in and would close #121
Defining global variables like this is generally not a good idea, as far as maintainability goes. Better to either use a closure, or define the variable on the Events object.