New flag & if condition to track if the display has been initialized & avoid repeated initialization and accumulation of File descriptors & system crash.