Worked on fixing sweep-based correction and cleaned up the code for it a little.
Fixed a stupid mistake caused by the clean up.
More typo fixes.
More stupid issues.
Fix some little bugs.