Rename var for consistency.
Use REFERENCE_TIME in a few more places instead of LONGLONG.