Enable -Wall on compiler.

And fix issues, which includes remote global REMOTE_NAMESPACE strings
(these needed to be configurable anyway).