Exits by Alt F4 or clicking X