renamed .output of node to .cache, added 'both' and 'either' std nodes
various changes