added weak locking with a mutex in inilib changed the rank editor so it's slightly less inconsistent with the rest of the admin window.