fixes to support new displays, and new sample additions