App::run() just executes uiMain() which never returns control to the caller
App::run(true[, false]) executes uiMainStep(0) which returns control to the user non-blocking - it does not wait
App::run(true, true) executes uiMainStep(1) which returns control to the caller, but waits for a ui event first