Fix ipc checking for tasks already in the queue.
Move scheduler starting back to webui code.