Fixed some more issues
Updated VGL
Updated code to use new createLayer API