Fix mmx float pipelining & some windows warnings and runtime errors

* fixes runtime errors on windows for domain-server and assignment-client related to setvbuf()
* fixes runtime errors on windows in logging because the %F format is not supported
* fixes warnings related to mixing floats and mmx ops but switching to int math instead of floats
* fixes some other warnings about doubles and floats

closes #2415