Switch from a UL to a table
Add priority and context fields
Don't recreate thead/tbody if already present