New bioformats to handle measMode 13 + tidying up debug stuff.