Slight refactoring and making editor save and restore previously used directory tree
If a file is already open in an existing tab, switch to that tab instead of opening another one
Fixed #2 selected tab is full opacity while all other tabs show at one quarter opacity