Re-factored and commented SDL/GL initialization