add proper return to savegateway() from Mike Muuss (mike@brl.mil)