some changes about the timers (mainly affects interactive mode) and usleep code on Windows.