fixed a number of compile bugs
updated CDFWriter to use new FrameHolder