Fix some bugs and document others
7 files changed