Code:
DEFINE LCD_LINES 4               ' number of lines on LCD
Your define is for a 4 lines LCD while you are using a two lines display (as per picture in your post #1)

Al.