Added new command to get (and delete) data samples every N milliseconds.  Also did a little cleanup.