More work on background process handling