reimplement as thread and avoid use of QTimer!
spikes( int trace ): instead of sessionOpts we should access the spikedtector directly!
check locking!