Well I got my head working using EMC. Now I am on to the long axis. I have changed my design so I have to cut my main frame up a bit to make it narrower. As you can I put the main axis inside the rails but this is proving to be very difficult to work with like this.
I am going to put it on top instead.
Here is a movie of the axis moving.