Isolate, domain, etc cleanup

Simple things. Fix compiler warning. Add `node_isolate` where missing. Be consistent about retrieving domain objects only when domains are in use. etc.