Dependencies up to date and fix for preview staying open when switching to non-md file