I am creating a simple SQLite database viewer in Tkinter/Ttk. It consists of a ttk notebook with a table in each tab. For smaller tables, it loads fine but for tables with 1000+