added hacky current-environment and _global-environment; long->string but doesn't work for characters.