Lots of little fixes

Namely:

- Wrong contributor location
- Some whitespace issues and data type clarity
- Fix settings to not hard-code nextgen-gallery as parent slug
- Also, filters sendEmail()