Gutted all the USB and interrupt stuff, added just a basic blinky, and it worked.

Name:  18F4550 blinky worked.jpg
Views: 38039
Size:  332.5 KB