program sometimes crashes when playing around with search function and 
"previous screen" function.

mem leaks arising from monitor mode
