Add some utility code for strings and logging.

Fix branch/fall-through code in the compiler.