I don't think that's the issue. I did this test: Grabbed a brand new, never used 18F1320 and programmed and old program on it and it worked, programmed a different program and it worked, then programmed the program posted in my OP and now the chip cant be read by PicKit2. The program runs, but I cant change or erase it.