Faster updates on WinEnter
better checking for filetype on WinEnter