Allow keep-originals as well as keep_originals. Fix bug where arg_value wouldn't return False value.
Fix caching to work with new node system. Clean up code and add tests.