Finished implementing the card changer, seems to work correctly.