Fixed indentation in demo. Fixed events.