repurpose ImageDivet for avatar, minor lint, fix bitmap decoding
// FREEBIE