Oops, sorry, forgot to answer that part. (DEC2)

You should only have to reset GIE before reading the sensor.

INTCON.7 = 0
OWIN ....
INTCON.7 = 1

Not sure what you did with the counter so I can't imagine what happened there.
<br>