fixed a bunch of wfProfileIn/Out pairs

@hakubo @SebastianMarzjan @garthwebb @kvas-damian @michalroszka @gabrys @inez @owend @federico-lox pls review the changes due to the Code Ownership policy. I'd like to merge it tomorrow so it goes live next Wednesday.