Finally finished it!

Very pleased with it. There is a lot that could be improved but it will stay as it is certainly for a few months while I get on with other things.
Basic functions & instructions for use:
Central Green LED - flashes to show controller in ON
Left Blue LED - lights when motor is moving
Right Red LED - Lights when in memory mode when we can move beyond limits and programme them
Button Left-Green = Table moves left
Button Right-Green = Table move right
Press Red-Stop = Table Stops
Press Speed = speed scrolls between 0-9 (preset at 5 on PIC startup)
Limits are preset at startup to +10,000 and -10,000 steps,
To Set Limits:
Hold both Black buttons, RightLimitSet and LeftLimitSet together and release (the ones next to each green button) - controller goes into memory mode.
In memory mode movement is not restricted by limits. At any current table positon, either, left memory or right,memory button alone can be pressed to set the associated limit.
Moving between limits::
Hold LeftGreen AND LeftMemory and release - table moves to the left, hits the left limit and moves between the limits continuously.
Hold RightGreen and RightMemory and release - table moves to the right, hits the right limits and moves between the limits continuously.