That is it… I definitely need a Holiday… Right NOW!!!
I have just spent probably an hour wasted looking for a bug, and the problem is that I could not work out the difference between in and out. I am trying to send some outputs out a port, and tried writing to the input port!
I NEED A HOLIDAY!