added button, and started adding functionality to rearrange line items.

line items not yet being rearranged
buttons look stupid
got to the point where getUserMessages returns a list of strings
containing <li id>::<message>. which can be unpacked using the
unpackTuple function.