Minor cleanup; formatting, ctors.
Split sendq/recvq headers.
Add state modes, flags, asynchronous events architecture.
Rename log function for Msg handlers.
Combine all enumerated Special handlers into container.
Complete the various State handlers.
Fix comment.
Default to FOREGROUND event processing for Bot instance.
Minor template cleanup for Events containers.