extension: move extension initialization to window creation
shader: fix begin
shader_manager: add USE_SHADER helper