message: Prevent ugly error dialogs if Extraterm starts without a config file.
diff: @@ -422,7 +422,7 @@ function checkWindowBoundsLater(window: BrowserWindow, desiredConfig: SingleWind
  let updateNeeded = false;
  - if (desiredConfig.isMaximized === true) {
  + if (desiredConfig != null && desiredConfig.isMaximized === true) {
  if (windowBounds.x !== windowDisplay.workArea.x ||
  windowBounds.y !== windowDisplay.workArea.y ||
  windowBounds.width !== windowDisplay.workArea.width ||
  @@ -431,6 +431,8 @@ function checkWindowBoundsLater(window: BrowserWindow, desiredConfig: SingleWind
  window.maximize();
  }
  } else {
  +
  + if (desiredConfig != null) {
  if (newDimensions.width < desiredConfig.width) {
  newDimensions.width = desiredConfig.width;
  updateNeeded = true;
  @@ -439,6 +441,7 @@ function checkWindowBoundsLater(window: BrowserWindow, desiredConfig: SingleWind
  newDimensions.height = desiredConfig.height;
  updateNeeded = true;
  }
  + }
  // Clamp the width/height to fit on the display.
  if (newDimensions.width > windowDisplay.workArea.width) {
  