Silence compiler warnings; enable NOCHATTER

This simple change set gives me a completely clean compile with GCC and the current Makefile - mostly by including standard headers as needed. I also have some input that triggers a segfault that I haven't been able to fix yet. I hope to get to it at some point.