Minor code improvements in board.vala