Update lib.php

Remove obsolete category icons, thanks for the changes, getting merged in Essential!