searchTheWord() added. Changes adapted to other slots.
searchTheWord() function added to the header file
Changes adapted