First pass at leave functionality
Address PR comments; spacing
Spacing fixes
Merge pull request #29 from psybuzz/leave

First pass at leave functionality