Merge all other contributions

New features
Fix Windows bugs
I've never found it necessary to invoke GC manually in Logstash, so without knowing more details, I'll remove this before merging.