Fixed some bugs, now the card matching works properly.

Still need to figure out how to set the background image for a button only in the "normal", non selected state.