Added Windows background weirdness code.