gtk2: Fix runCommand SIGCHILD race condition.

The SIGCHILD handler gets replaced which could cause race conditions on
fast machines. This patch resets the SIGCHILD handler to the default
before we call popen() and restores it afterwards.

Fixes issue #41.