Add primitive star red-shifting
First input rewrite pass
Add MSVC build workaround