Changed max_processes to 2 to allow C#.
PrepareTask now allows omitting some functions in the task module.