Filling in missing xml doc

Filling in some missing xml documentation, but there's a lot of it.
Using mtcup.org documentation to fill in some parts.