moved more things into hashtables.c and transferred vbomanager to use the entity style