changes to framework: bind callback functions to result iterator objects, improvements to namespace support, bug fixes for strict mode