Cleanup objects. Queue work items to render thread. Load pre-compiled programs.