Fix how scripts detect the gollum process

Use pgrep to find the gollum process ID, as it's much more reliable
than ps.