small fixes on PC+export on PC

export for PC.  still need to check on a faster PC.  the 10-year old PC
used to export can barely run the software.