Fix dzenstat script bugs.

Multiple screens were not handled correctly; PID was not stored
correctly (somehow you need to add 1 to the PID, don't ask me why).