Changed the stack frame module to store variable info in structs, rather than parallel arrays.
Cleanup of name clash check.