Added objectEvents.hh. Small changes here and there.