coroutines, etc

Fixed a bug related to coroutine for timed death, some cleanup here and
there.