Trim command input
Add ability to timeout/cancel event handlers

This lets us re-send requests for morgues, etc.  Sweet!