t_table * Getactiveframe(t_frame *pf);
pointer to the active table (the one having focus) or NULL if currently
all tables in the frame are inactive. Active frame is has focus
or will get focus when user switches to the frame window.
On success, returns
pointer (of type t_table) to the active table. On error or when all tables in the frame window are inactive, returns NULL