Some tweaks and styling of UI elements in NPC dialog

Minor cleaning, styling, and tweaking of the code. Fix inconsistent color of the window borders.