Right now objects aren't iterable, because of the way views.js is written to have nested objects instead of a list of objects (this is what setupScreen is based on)
Maybe store these objects in as a list inside the canvas object (or possibly an object, as long as it isn't nested)
Homescreen is inefficient because it doesn't use the methods in gf.js
views.js
is written to have nested objects instead of a list of objects (this is what setupScreen is based on)canvas
object (or possibly an object, as long as it isn't nested)gf.js