I recently upgraded the ram from 2gb to 4 gb through crucial, and also recently installed cs5 master collection.
It's so hard to tell without physically being able to diagnose the computer. However all the information helps, so as you said you recently upgraded the RAM, and it freezes and kernel panics every time you turn off the blue tooth. There are several diagnostic software tools that you can purchase to diagnose RAM assuming that it catches the problem to see if its faulty or failing. Then threes just replacing the chips with the originals that you took out.
So you can do a simple RAM re-seat, and or test and replace to see if its the RAM as this usually works for most faulty RAM. On MacBooks it's not that hard to just not have it seated properly in the slot because of the way it goes in.
Some programs like Tech Tool have a memory test tool that works pretty good and it puts the RAM through its paces to see if it may be acting up.
Did you ground yourself with an anti-staic wristband when you swapped your RAM? ESD messes all kinds of hardware up even when doing something as simple as installing RAM. Also does it only do it after the machine has been on for awhile?
I also don't know what the policy is if the Apple store repair centers see any third party hardware ( aftermarket RAM, Hard drives etc...) in a computer may be anymore. They used to refuse to honor your Applecare for that session and send you away unless you were willing to pay for diagnostics etc. However there's always (private) Authorized Apple Service repair places that you can take it to as well (assuming the Applecare hasn't expired) that may diagnose it and waive the diagnostic fees if they discover that its
NOT THE RAM THAT THE UNIT CAME WITH!!!!! That varies from private shop to shop, and every place reserves the right to say no to honor your third party RAM, or other hardware.
If it's a hacked copy of CS5 that's causing the issue, or a bad install then bad news is
nobody does software diagnostics and repair for free. At the Genius BAR or in any Apple store its a given. Unless you just want them to wipe the drive and reinstall your OS.
The good news is any good technician who knows what they are doing and what to look for can diagnose a kernel panic quickly and accurately so even if you have to pay a
small diagnostic fee, its only a
small reasonable fee.
Good luck I hope you found some of this to be useful information. let me know how it goes, or if you have any questions.