Add handlers for delay and quit.
WIP: Figuring out how to make scopes work.
Push client stats.
Track errors.