Do not crash due to errors in render callback
Return c-string while file reading
fix broken build
Fix rendering on GLES
unused assigment
use void for functions without arguments