Fix TypeError which causes since upstream change a7b44c82e5b9
Add support for toolshelf tabs, set category "Tools"