Added an option for window size in the gui version.