Fix profiler values not being updated (F6) and not being logged