Chapter 7 exercises; a few tests, gravatar size, and  cleaner flash code