add a help dialog, fix "main" in package.json