Code clean-ups.
New rendering pipeline.WIP