More setup stuff

Fixed up something in shader intialisation and setup opengl binding
shader objects to the program object and cleanup of shaders.