added index error checks for showWidget and fadeToWidget in DeckPanel class