added random hash controller, replace printlns in rhino context factory with log.debug