Fix finding empty process name.
Fix random small mischecks.