joy-frontend: Add check
toolbox: Add mutex
toolbox: Improve doc comments
toolbox: Improve consistency