added support for '-' and '.' but both not as the first as first character
cut the filename at the last '.' not at the first in tab-names of the editor
Merge pull request #1773 from oni303/minus_support

added support for '-' in filenames