Added debug statements
Merge branch 'master' of github.com:TejWC/gdrip
New framework for the image handling; should make the overall design cleaner