Hi temp19,
2 things come to mind . . .
#1 I would set sspcon1.5 = 0 to disable spi and make an I/O. It may default to this on POR but I did not see it in the data sheet.
#2. Now I might be the only one who EVER had this trouble, but when making statements like :
if c = "d" and a = "+" then sound portb.4, [119,7]
it never works FOR ME without some brackets, like so
IF (c = "d") AND (a = "+") THEN sound portb.4, [119,7]
as I said it MAY work for everyone else, but not for me.