fix queue_push and queue_shift
refactor event_loop.c: remove current_event*
clean up a bit
Merge pull request #4 from ashleyh/event-loop

fix queue_push & queue_shift; add queue_peek; remove current_event and current_event_args