Thanks for your patience Dave!

Well, I commented out the two lines as you suggested recompiled and put the code into the PIC and it froze! Tried a few times and also tried to reset the PIC but noting, stone cold! I opened the inc file, restored it, recompiled the code and it was all back to normal.
I must have my stupid hat on this week, this thing just won’t fly!