Refactors createNewDeckPanel. Troy