changes to errorlogging.fs