Fixes hash generation and checking with the trees.config file - since this is changed during startup our plugin cache was never active :(
Changes locker to be static