Corrected the display of the table in theui_elements.rst`, fixed minor typos and a few other small things
the