fixed the random generator from taking too many threads at once
corrected problem with wiping db
fixed "dashboard" link when you are in the conext of a dept
fixed dashboard link
Merge pull request #71 from ucdavis/ANL-ThreadedGenerator

fixed a few defects with threading in generator