Use a logging method that doesn't hang in options initialization (addresses #749)

Fix for #749. Errors in options initialization now get sent to logg.txt.

I'm aware that #751 also addresses this, but I was a little hesitant about merging something that flat-out removes debug warnings.

I'll let someone else decide which version is preferable.