Fixed an issue with manually updating the brick tree while recording. The issue
is related to the fact that the file is read when the gli app is started, thus
the file must be locked during recording to not have consistency issues.
However, this change enables (mostly) concurrent modification of the file.