Consolidate task life

Fix for #394 (lobster problems)

Fix resources leak by not let labeled/unlabeled to mix, and by adding functions to gather all resource accounting.