Cleanup unused imports

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Refactor parser error reporting and make output more informative and consistent

Signed-off-by: Stefan Marr <git@stefan-marr.de>