added several FRAME_SIZE_ERRORs and one comment