Added the feature to make a neew window named dataset_template

-working on setting up the prompt
added feature to on close of template extract lines and exclude comments
corrected the extraction of lines to ignore empty lines
added blank formatting templates
began importing stuff from DATASETCREATOR
refactored a little bit