Added debug mode for editing deck.