Fixed the LCD display problem, but still doesn't work until the reset button is pressed.
Added code to track distance moved, but doesn't work yet - I need to work out how to track x and y coords.