Improve appointments.

- Improve content trimming.
- Add .infoTypeString()
Fix grades.
Merge branch '1.2'