first complete pass on updating frames.  have to debug now...