Added program link check and shader compile check, and cleaned up
printing information