Add new unit tests, size option for gravatar, clean flash display code