fixed up some styling
made a blind stab at detecting windows PIDs