Added automatic updates on the textarea (when a new person is added, a
time is changed or sorting order is changed).
Also made some tweaks to the code here and there.