Use the StopWatch class instead of DateTime.Now

It's much safer, as it doesn't involve time zones or daylight saving
time, it has less overhead, and it has much finer precision than calling
the system clock.
Merge pull request #1 from mj1856/master

Use the StopWatch class instead of DateTime.Now