add a handy uuid function for debugging - ripped from stackoverflow
fix a double rendering bug for exercises, not good coverage but an improvement