- fixed bugs when inserting failed
- added additional systemQueries
- enhanced error messages