Also check command names in cs_log when seeing if a newly added entry already exists. Also force command names lowercase when looking them up.