Fix updating bms.  Make whole cat li a link. Add -main to handler.