Clear contents fix

Fix 2 things when loading a workspace / creating a new workspace:

function editor:
- In function editor, edit a chaser, run it, load another project, QLC+ crashes
- In function editor, edit an efx, load another project, QLC+ crashes

vcaudiotrigger:
- Have a vcaudiotrigger in your virtualconsole, load another project, QLC+ hangs indefinitely or sometimes crashes (it tries to access isRunning() of the already delete AudioCapture)