Just playing with the latest Lazarus 1.6.4 release, I'm reminded of a Delphi issue carried forward into Lazarus.
If I click a component on a form, Lazarus adds the required name to the uses clause.
If I then remove the component, there's no other component using the entry, the entry remains.
Wouldn't it be better if the IDE removes the uses entry if the last relevant component is removed ?