Don't break loop on interrupt or resize. This fixes #4, Resizing the terminal will cause mem to exit.