Fix some small project bugs in receiver code.