Add hints again
Show previews for text files
Fix shouldClose