Added Exception Handling when reading in TaskItems

Added exception handling when reading in TaskItems from the application
object. Some items come in with null references, but they don't seem to
be real tasks.

Throwing them away doesn't seem to cause any harm all other task items
work correctly.