Need to implement mecrosecond's timer for Windows version.