Fixed the tracking of active tasks.

	-Tasks are now considered active when the
	 scheduler receives a TASK_RUNNING status.