Do all gl initialization on correct thread