Various fixes for the compiler.
Additional fixes. Functionality appears to be back to where it was except for strings.