Little tweaks to command history feature