Maintain a status queue
Clean up debugging code
Add toast support and various fixes to the event queue