shortened shutdown code with do-while loops; moved disc identification
code to new class to simplify adding new identities for discs