Activated strict SQL mode, minor SQL injection fix, fixed _vl() debug helper.