Flickering issue solved

See changes in 'DLI' subroutine! Added missing 'wsync'