frame structure now does not contain the data buffer, it must be given one to use
fix whitespace
remove unused frame_list