Code runs and gets final result but using my old OGL3.3 framework.
If you want to switch to the new OGL4.4, you need to rewrite a lot of stuff,
so you might want to make a branch from here.