Finally got events working!