Added removing files from file list + new file command is now executed by MainWindow.
Handle incorrect file opening