Made it so it writes full namespaces and fixed the reserved words lookup.  Almost ready to test compilation.