Fixed bugs in RegisterData.  Added support for timestamping measurements.