Dictionary Fix 0008

Add more console output.
Allow logging to external file.
Change tabs to spaces for github readability.
Minor change to commenting style
.