Several bug fixes

- Optimized SED replacements
- Fixed mysql-lib dependency bug
- Changed readme
- Added warranty