jpegFromHib example now seems to be working (will need to test more thoroughly)
code cleanup for Hib2Jpg example