Fixed debug error in scheduler. Example on how to shoot using a RegisterOperatorControlTaskIfNotAlready to make sure only one task is running at once to not break the system.