System.exit after windows are closed.