Astyle main.cpp

and removed old windows code