failures to restore query ids are not handled gracefully
added new boxes on the right for restoring old queries