Fix for Issue #22

I don't have a build environment set up for this, but I believe this change will implement checking cards remaining before sleep.  Meaning the first time you go into the loop you will get info on how many cards remain before going to sleep, and if the user interrupts the loop with control-c, the loop will recheck whether there are any cards remaining before sleeping.