attempting to get a notification on process exit
reatached pid - not not be attaching in correct spots
fixed code - only attach pid to pidtype_pid
commented out lines to hide process. verified that process hiding works (including restoring process on exit)
merged