Mike, Glynn, I took a slightly different approach to this than Glynn suggests, resulting in messier code: [Note that this code was from Glynn's late April revision to the display devices code - there may be changes since then]