Fix wallpaper thread lockups and whitespace