changed frame0(main frame) to not resizable