Fixed some minor bugs
Merge branch 'master' of https://github.com/erickulcyk/766_hdr