Add DEBUG_MODE flag for the reams of warnings.

Turn them off by default, so "say 'hello'" doesn't give thousands of
lines of output.
Small tweaks to get 'hello world' working.
Add CORE.setting to the build.