Everything's fine except for the nullptrs.

it's all Drawmanager::Initialize(window) since window is null, renderer
is null, thus returning false