[Code] Fixed compiler errors.
[Log] Cleaned out logs.