Add client prediction logic to renderer.
Minor style change.
Remove dead code.