blockbox: misc bugfixes for the server