bug fixed in taskanalysis. we missed self edges if the task just returned w/o settin...