initial and incomplete support for filtering in the get_thread_table lua api call