Mutex so the DB doesn't crash when assigning opt_vars
more interlocks when modifying hosts db
Merge pull request #62 from AsydSolutions/devel

Hosts DB interlocks