I finally had a minute to revisit this. I took ChristopheM's version, tweaked it a bit and posted to UDFs.

GetProcessOwner() -
http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=204086&Main=204086#Post204086