Changed border(l), border(d), border(e) to all use safe_str().