Making the HUD more robust to silly CSS.
Fixing debug event timing back to Chrome 29.