Added ability to break out of events. Closes #2