Results form added.  Code behind work for main form

Further work completed to refine the main form code behind