Fix some function naming issues in wgl.jl