Fixed bug with selecting cards and then unselecting the first card in a 3 card match mode.  Began to add doxygen comments.