Processors fixups

Fixups for a few of the classes under Source/Processors.

Some of these are cosmetic, others fix actual bugs (a memory leak, a file descriptor leak, and the segfault in issue #19). I've kept the two kinds of patches in separate commits so you can cherry-pick the bugfixes if you're not interested in whitespace cleanups.