fixed minor bugs, freed hash functions, improved admin console