Fixed problem with timer resolution.