fixup: rewrite search stuff
fixup: progress dialog