added function for stringgrid output
edited diagramme & setup window