resize main frame.
remove unused files