Remove dead queue table code
Remove dead queue table code, change lastpolled recording