Fixed tasks and added winning conditions

Fixed bug related to tasks being completed on startup due to delay in AI spawning. Also delayed task completion messages.
Added WIP ending upon completing all the tasks.