Added FrameStack class to manage inputs/stepping. Not used yet.