slowed down memdisplay rate; added fileread with try catch