removed main calls in GUI files