Don't close window after calculations