Fixed null reference with registry.
Merge branch 'test' of github.com:kellyelton/OCTGN into test