Search; Copy to clipboard: proper impl; cleanup

- cancel search properly; clean up code
- copy to clipboard properly; clean up code
- close box in compare mode just exits compare mode, not the app
- fix blinky restart; progress indicator
- auto close message box: e.g. when search is done
- fix assert reporting
- consistently named string constants