In trying to tackle the action deletion problem there were two areas tha...

Had to write new functions to handle scheduleForDeletion() properly. Had to add functionality to wait for logging to be completed before deletion takes place for some actions. @dretrex could you check on this and make sure it also runs scans correctly on your beamline? Cheers.

(Maybe the correct merge branch this time)