what programs were when you got the kernal panics? it could be software related.

First, run the MAC hardware test just to be safe. its on the install DVD that came with your mac & its free and will tell if you have a problem (hardware wise). if its not hardware, backup all your important stuff and reinstall the OS.