Frame history now works, redraws should be much faster.