Fixed display board function to work with restructured piece code.