Add prediction of spell cards.  Fix a null dereference