Fixed some errors with /setfreq and /getfreq commands, and added usage
messages