wgl: move screen-init to a helper