Removed obsolete files
Cleanup of code for query dialog on main page