implement SHOW_WEIGHT option (ported from SLASH'EM)

Signed-off-by: Steven Noonan <steven@uplinklabs.net>