Problem: Timer removing a message from the msg buffer does not remove empty lines if window is closed (col([ui.wins.msg]) fails). Solution: Use nvim_buf_get_text() to check if line is empty.