Improved Gravatar support (#587)