Create ConsoleAPI as soon as possible in order to be able to log as much prints as possible. If running in headful mode, store early log messages and add them to ConsoleWidget when it's created. Do not create CommandLineParameterMap if no --help switch given.