Issue #193: Rework code from template_process_username() into theme_username().