main: Fixed detection for a full board.

Also removed extraneous print statements.