Added function to return string for the specified integer, added debug message trace functions and generic collection management functions.