vw-top-errors small bug fixes + allow sorting by sum as well as mean of weights

vw-top-errors: more useful now and doesn't trip on uninitialized warnings.