added debug constant to make newboardstring optional (only needed for printboard)