fixing mlock calls

added sourcing of bismark.conf (causing the issue)
and fixed the release_active_measurments_lock (mind the typo).
not fixed the function name in the library in case someone else was using the misspelled name.

some useless code cut away, too.