a standalone application. Based in part on PR 16835 from Julio Merino; any differences mainly due to the fact that I started doing the same thing before I was pointed at his PR. Reviewed by Hubert.