Improved the formatting for the textbox

Especially the display of responses, which now uses a proper
table-based layout rather than two rows. You can also specify the style
of the text box, so that you can, for example, have a different style
for the textbox when inside a battle than when outside one.