new logging category for AppMode
some documentation and variations of dispatch_next_run_loop