improved tools to find / fix errors
fixed typo
added more stats
removed db name from query to make it work offline, too