Templated out a thing called 'span', which should hopefully simplify a lot of the frame-window stuff and allow more easily extending it. Also to practice templates.