Hide accepted and/or closed events
Removed debug code