Change close routine. Fix bugs.

	modified:   mm/ssmem.c