The Extras menu gives access to the Options dialog and contains a command to delete all unused variables.