Beefed up the docs and corrected all typos