Fix the file close error, add the thumbnail list checked function and scrolledWindow