fix tinyxml and libs
fix tinyxml
fix double delete, change warnings to log, remove deprecated texture parameters
change errors to output to log