change ls into backtrace in monitor.c
unimportant changes