MSVC related changes.

Hi, 

Some more changes this time. Mostly cosmetics. 42fe36d make it a little quicker which is always nice :) Around 2.5x for 64bit and 1.4x for 32bit according to the benchmark. I've also updated solution files, but if you like to keep old ones we can skip this one.