appending frames is now possible. Printing of patch JSON also added.