Tasks stop on unmanaged

stop tasks when entities are unmanaged, and better bookkeeping for scheduled tasks.
(also fixes eclipse IDE problems caused by checkstyle.)
oops, i meant to take that out, i only put it in to make sure no other places called to it.  however i would prefer to mark these "very internal" methods somehow ... `internalAfterEnd` ?  but that's naff.  actually i kinda like the `_` prefix.