Fixed some bugs, moved display formats into their own subcategory, added config lookup.