Expand formatting buffer for LogError() and friends

Messages to be displayed to the "Warnings" popup window (or on stderr) were
being limitted to 500 chars.  One recent Python error message was at least
half of that.  Messages containing long paths might be truncated, obscuring
the error description.