Add logger stub.
More variable-reference work.
WIP: remove assignment-conversion for module references.
Fixup varref.
fixup modvar.
Fix previous changes.
Fix weird translation error.