Implemented more correct handling of timegate resolution by pulling data from the response header rather than hard-coding to preferred timegate.