Cosmetic changes.
Fix bugs that lead to infinite loops in task submission and optimal task size computation.
Allow option to compute optimal tasks times assuming a equivalent number of resources.
Remove timing code for computing partition overheads that are so small to measure.
Compute the common sw dependencies at the beginning since some of these seem to get modified as tasks complete.