added override for last window quit override when in gui