Refactoring and new functionality

Refactoring, broadcast events, attempts at CR confirmations (API is
broken)
Refactoring, fastclick