Add a debug window, and a thread lister