Error fixing day 3

Fixed most of the obvious errors, including with the events.