Fix compilation problems.
Add two more routines to print string/number from value.
Add some style fixes to make sure I can maintain this code.