Deck: added history size cap option; beginning to address comments on 181dd59b760db107bac042e66ae76461df418541
Deck: tweaking selectedIndex