Error detection
Merge branch 'master' of https://github.com/phil-mansfield/gotetra
Added logging statements.