vw-top-errors: handle and report vw failures cleanly

Plus some more cleanups.  Thanks.