more bug fixes from fcc7620 + improved command bar history