Converted displays to using managed listeners, this reduces errors and should improve performance after windows are closed