small spell fix
added a release file lock method and fixed issue with slave lag checking.