Cache and HUD work

Not quite done, but working on it. Can't stay awake. Going to bed.