able to change main window size via preferences