Have done some thread stuff it compiled which was nice, but then it segfaulted instantly i shall run it through xcode and print statements etc later