Reworked Frames

appears to be working now. need to implement the initial button and
addition to frame code for adding buttons.  more utilities to come soon.