Further documentation, less spacing

Reduced annoying amounts of whitespace and increased documentation for anyone potentially reading this.