Fixed bug that caused the wrong tiles to be chosen to be displayed for
localDisplay
removed debug output