add initial window size differently for gui/no-gui