added a ptsearch dialog running in separate thread, also cancellable
added a ptsearch dialog running in separate thread, also cancellable

goodlyrottenapple/calculus-toolbox,goodlyrottenapple/calculus-toolbox,goodlyrottenapple/calculus-toolbox