Adjusted sleep duration for windows and changed logging options