fixed bugs in UI, that caused exceptions when reseting drawDeck, and interacting with a blank repeat.
Merge remote-tracking branch 'origin/master'