Fix raw html output, add consistent avatar style

Supports #187