added 'ctf' parameter to /cup and started capture event clean up