random cleanup/fixes

Some of them Win-specific.
Also added an llvm ir annotator based on llvm-dis.
The ABI is defined as extern(D) = extern(C) for non-Win32 on the official page.