Fixed everything

Compiler works again.
A lot of basic superficial changes to compiler context structures.
As of this commit Xi is a glass castle standing on a cement foundation,
instead of the other way around.