Compatibility with MySQL STRICT_TRANS_TABLE + removed some hardcoded urls, fixes #157