updating text layout and making display fixes