Fixes #11. Added more info in status messages and moved cmd_win inside os if.