rename glinc, delete platform files, fix warnings, add log callback