[PATCH v3 5/8] powrprof.dll: fixes from initial test runs