minor tweaks to pid_t stuff for Frameowrks/Service (not sure change right???)