Deleted unnecessary code left over from previous attempts. Re-ordered the code sections to account for changes to the background image.