fixed missed pickups of completed tasks when task is itself a yaml dict, also stopped modifying task list with remove() while still iterating over it, python 101 mistake, fixes #2