Adding a debug mode print and debug mode
 resolving issue #43, fixing some awkward merge artefacts
Finally resolving this merge issue?