Incorporated updated LoggerLib from Tim and Dan's record control code

Dan's code incorporated and runs on BBB, but needs cleanup