I had that problem with the pic18f45k80. It had something to do with using the MCLR pin as an input.
Melabs was able to help me by updating the programmer software. I don't believe the END statement
is your problem. Read this article it may help.

http://www.gooligum.com.au/tutorials...rog_issues.pdf