Fix open file from a project and implement drag and drop tabs.