Quick code cleanup

Just tidying things up -- deleted loadprogram because it's no longer
used (since all presets have been copied into new format).