Removes Widgets

Adds a function for removing widgets when necessary (commented)