Cleans up tableu initialization and checks for error on card pop.