I compacted the script a bit.
During this process I lost 16 of the spheres.
I also changed the API to use vectors to mimic the behavior of the internal primitives.
We've been meaning to update the include/library feature a bit in OpenSCAD, as well as ship some useful higher-level objects libraries with the binaries.
Keep making free libraries/parts and we might end up having a cool initial collection!