I've never used the touch sensor thingy's, but here's a couple items that will be causing problems.
  • You've enabled TMR1GIE (PIE1.7), but there isn't a handler for it.
    Don't think you really need it anyway if TMR2 is handling the gate, and creating an interrupt at the same time.
     
  • There is a return in your Main loop. Very Bad!