[c2409] Add const-correctness to Text related functions
[c2410] Add generic DoDisplayText function and use additional data of dbscripts table