I had this problem too and I goggled it. What I came up with was a couple of threads and basically the fact is the tp doesn't like other pictures taken from other sources. For example I had a mogul before I swapped and I used the same memory card on my tp. I then noticed someone mentioned that as soon as you get to a picture that you took with your old phone (mogul for me) it would restart the touchflo.
let me find the links for reference.
1.
http://forum.xda-developers.com/showthread.php?t=441518
2.
http://pdaphonehome.com/forums/htc-t...ird-photo.html
So just read through those treads and I'm sure you will figure it out.
mines working perfectly now. But htc/sprint should take care of this bug!