The MotioninJoy driver is reponsible for both crashes. I've seen this thing crashes computers numerous times. Unfortunately, if I remember correctly, the developer of the driver hasn't worked on it since last year, and it looks like updates for it are very infrequent. No doubt he's got a bug in his code that he hasn't bothered to fix. You will need to find another alternative for using a controller on your PC. Either a PC-compatible controller, or another driver for the PS3 one.