prtRvHmm modifications and bug fixes for odd circumstances