Custom event duration
Bugfix (missed semicolon), and tested custom duration
Merge branch 'custom-events' into develop