fixed comments on Log class, added friendly message about github
use prepared statements properly