Adding a command to print out event handlers
Better exception handling