moves script tags to the footer as they should have been from the beginning, also adds tables for the display of queues and search results.