minor changes in generateMessage function
New file added. Will work the same way as the
filter table and the tree widget. Can be used
as a stand-alone script. Not actually used in
the GUI at run time yet.