- Removed unused code
- Code style cleanup
- Better error message
- Fixed SQL Error when DB in Strict mode
- Improved Path/Domain setup