fixed size of main window and Preff Buttons

Changed size of Windows to edit the size of the Preff Buttons