More debugging of tasks. Collapsing still broken.