removes unused files
Starts to add codo to the tbg-close plugin