Fixed typo in tooltip building code that lead to lua errors. Changed namespaces settings rendering into main config (yet to be finished). Some other fixes/refinements.