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