massive refactoring. Added gridlines and viewport axes. Gearing up for change to anchor points