Implemented the mask for the board in BCW.
Some whitespace cleanup.