Fixed message loop for search/compare/etc which sometimes could not be aborted (Escape) if  mouse clicks were made in the window first (seemed to happen in release mode only).
Fixed message loop for search/compare/etc which sometimes could not be aborted (Escape) if 
mouse clicks were made in the window first (seemed to happen in release mode only).

git-svn-id: c806da28ca781a1e2f2d0b1fde2a9d9a144b325a@1299 295070fd-a27b-da4f-a32e-77c6a882a0e3

Andrew-Phillips/HexEdit,Andrew-Phillips/HexEdit,Andrew-Phillips/HexEdit,AndrewWPhillips/HexEdit,AndrewWPhillips/HexEdit,AndrewWPhillips/HexEdit