GSM shield hangs when reset/uploading code during GPRS connection

Regarding transparent mode to talk to GSM module - Look up Arduino Phone project on Github. This sketch does it - cellphone2/SerialProxy at master · damellis/cellphone2 · GitHub

Also have a look at the projects homepage for some other fun things to do with the modules! David A. Mellis: DIY Cellphone