Code cleanups, and starting merging some documentation notes into the main tutorials