improved system.array() function (the resulting object is now fully integrated into JS scope)
added function system.sprintf()