Check that shoe is not empty before dealing card.

Minor clean up, remove functions better suited to dev.py.