well i gave it my best shot, for the first part, saving instances to array
i have a solution, small bug in the display show one entry as zero, but it fixes itself once you move the instance
edit: correct saving and loading of instances
example
maybe someone else can improve and take it further