Start of threads
SWI registration and some std files because cygwin generates invalid .d files if they're in C:/...