Logging credits in hex
Fixing more problems, improving logging output