Tasks stop on unmanaged

stop tasks when entities are unmanaged, and better bookkeeping for scheduled tasks.
(also fixes eclipse IDE problems caused by checkstyle.)
Perhaps word as `"Deleting submitted but incomplete task (without automatically cancelling it first): "+removed`?