enhanced pulsedb launching: added pid file