fix plotting for singlechannel mode if backtrace goes farther back than
the available data. y-labels have to be checked though..

also some refactoring, do as little as possible while having a
multithreading lock acquired.