Add command parser and output modes (--verbose --qt-logs-only). Move static Logger to core as it is used from Qt and dispatch logs to the SDK thread. Update SDK to allow builds from MSVC 2022.