fix a couple of minor issues with shaders and the core profile