Thanks MilesTag-
I was having a similar problem with an 18F46K80 with it resetting on me - didn't know what to do. Kept cutting subroutines until nothing left but labels and returns.
I just updated my MPLAB and it seems to give me back my program!

This place is Awesome for knowledge.
Regards,
Steve