Minor changes. Mainly in makeHiRes.