Added dumping of constants and added a method to get a c string from a ScriptString.