utility function to allow flexibility in input
data can be: (*) an instance of ReadGE or the like, which is already set up, in which
case all frames are used and flattened
(*) a frame