cleaning up the event form view. Refactoring some of the events. fixing editing bug