fixed. if no unit is specified in the preferences file, it is assumed it is in the unit requested by the code.
fixed. if no unit is specified in the preferences file, it is assumed it is in the unit requested by the code.