Yeah, couldn't find anything either.

Try adding a PAUSE 250 before writes to give time to lcd to initialize.

Robert