Fix broken scrolling behavior of multi-line UIText

* Also fix duplicate command name coloring
Implemented multiline-UIText keys HOME, END, UP, DOWN
Fix horizontal scrolling for long lines
Refactored UIText insert text and replaced newline constant