Code cleanup and further revisions to the creation of the desktop wallpaper.