First version of dupicate removal
Couple of errors corrected
Ignoring new directory 'sandpit'
Fixed a port forwarding leak

And also allowed for single thread MATLAB to be switched off