Gave all the code a jolly good tidy up.

Conditionally compile in calls to FAT32 code for PIC18 only.