OSR Cleanup/Improvements

- Refactor/Simplify `OSR` Rendering (hopefully one day it can be abstracted out into a pluggable implementation)
- Improved comments so code can be better understood.

Driving force behind this PR is the OSR rendering was overly complex and difficult to understand (it's actually fairly simple what's going on, the code was just all over the place)