commutative fix of some bugs which I reported before in the forum

Hello Tony,

the pull request contains small fixes which I reported before. Additionally I includes small fix of the form of the button from the title (caption) of the grid and the fix for Searching with wrong data which reported other people. More details I included in the description of every change of the code from the pull request.

Best regards
Oleg