de-dynamicificated a bunch of calls,

no longer links to kernel32.dll at startup, calls like QueryDosDevice &
the call for Process Memory Info are now statically linked.

Also added some `#ifdef` macros to easily switch certain experimental
features on/off.