Improve the buildtool, upgrade client deps, polish gallery