update listclasses, fix bug in meanJPEG.R