Allow loggin to file, add CBNewChecksumBytesFromHex, add clean-tests to makefile and finish with orphan blocks properly
Many bugfixes with other but many slight changes