Merge "Misc debugging support and handling of latency changes." into jb-mr2-dev