Capitalization, newline cleanups.
Added example.
Removed redundant checks to see if delegate is non-nil.
Merge pull request #1 from eivindbohler/develop

Added example, small cleanups.