Don't call gidebug_output unless it exists.
Do we need another UTF conversion function? Oh, I suppose.
Don't print debug text unless the user has given the -D flag.