essential update

Update for eventcalls.c and eventual.h
The essential update is that in struct event, bool wait_flag is now
changed to int wait_stage.
I noticed that this should be the right implementation for proper
waiting.