This includes the changes to add background threaded processes.

Not the prettiest fix, but it works.  Haven't tested all edge cases though, so I want eyes on it before we merge it. *NOT* a critical feature.