Made events use a unix int value timestamp. Makes searching the db for events based on time MUCH faster.