implemented parseit button in mainframe, added non-static variables in mainframe