Removed the maximize window command, because it didn't have any effect.  It seems that it will respect the last setting anyway