Added a latency resolver to determine latency on actions.
Made it so the HUD correctly updates according to a screen resize event.