Added more events to core

Also removed print_r in default controller