Issues you are describing above are rather very general - there could be so many reasons for this! When you are saying that Sense is crashing your pc, do you mean this happens during reloads?
It would also be good to know what is the available ram etc and if you tried to run your code on any other machine with Sense? what is the sample new script that caused this problem? Do you have any tables there that could potentially create multiple synthetic keys? Both Sense and View were sometimes crashing on me when forgot to drop some temp tables etc, causing multiple synthetic keys. (not saying this must be the case here, but it happened to me on multiple occasions).