more tweaks

Migrated gravatar implementation to non-live file (not implemented) and
cleaned up primary file.