Ahh that could make some sense then...If the last thing the programer does is flip the MCLR to being an input, that is why it could be crashing the MELABS programmer and corrupting the chip, but the chip's program seems to run fine.

I will try using the MCLR as a reset and see what happens.

Thanks again