5/13/14: added tests for the new event handling and firing. removed most of the obsolete methods.