pub fn prepare(program: &'static ProgramDesc) -> Result<Prepared, AppError>
Checks program’s descriptor and sets up its state, before any UI exists.
program
When the descriptor is malformed, or setting up state fails.