WINDOWS: load debugging info for C code addresses
various IO cleanup that is probably more correct