Miscellaneous changes.

Continued phasing.
Reset positioning to pre-resize.
Added method for printing variables.
Added comments for extra clarity.