bug fix: add missing header file for log; remove commented renderer codes