Ported the background system over.