fixed do_bgfg() function
fixed minor issue iwth exevp()
fixed typo in unix_error()