Now displaying correctly

why have 1-240 instead of 0-239 on some functions.... It make a glitch on the last line... since we draw on the 0th line