Fixed bit error in recorder.c, added display logic