Actually close window when button is pressed

Previously only removed it from the windows dictionary.
Settings.ExitOnConsoleClose and Settings.ExitOnLastWindowClose both
default to false now.
Removed default behavior of setting exitonlastwindowclose to true when
starting with the default setup.