Encapsulate instance variables about the current page in a class
We've got way too much usage of instance variables all over the place for the current state of a page, such as
@path -- basically everything in
I think it would be much cleaner to encapsulate all of these in something like a
CurrentPage singleton class.