Partial unVSing of the codebase.

Removed calls to memcpy_s and other VS-specific, non-standard functions.
More unVSing
CMakeLists changes

Added more files, still not compiling.
Ugh... it works

Hacked together a “working” build. It hangs with no parameters passed.
Didn’t try actually assembling anything, gotta sleep.