Added drawing of events

fixes #397