Adding a way to handle (documented) error messages, using a class.

Also starting to work on some xml stuff, making WeekBascet inherit Array.