application not closing both windows on exit
change so both windows dont close on exit