Implement @tsukimizake's change to fix #153; also removes 0xFF bytes from the file
Get rid of random trace message