remove all tk variables which arn't needed