add functions to get shader and program error logs