fixed #605 hide materials, tools, blueprints list if they are empty