Minor modifications in an attempt to speed things up

- Store time keys explicitly in event_queue so that a dereference is not needed for pushs/pops
- Open up log file as append only