Hi,
It may be that the LCD doesn't have time to start up correctly. Try putting a Pause of 100mS or so before your MainLoop.

/Henrik Olsson.