MySQL queries should work better now.
Coding standards and MySQL error detection.