I've added a way to delete cheat codes for specific games, and deleting the tid folder if the directory is empty after the fact. I won't do your third suggestion, it'd be needlessly convoluted for something that in my view serves little purpose.I have several requests for the cheats section.
1) Deleting only selected cheat codes (titleID or BuildID)
2) Deleing the titleID folders altogether when deleting the cheats to avoid clutters
3) Deleting cheats with old BuildID if possible, or BuildID that are different than what is installed.