Use an app menu to control debug logging
add support for easily making dialogs