Properly use DT_DIR macro in readdir
Add support for text items with multiple styles at once