I'm getting 'TypeError: fname is undefined' errors at startup
Merge pull request #147 from ReichenHack/master

fix 'TypeError: fname is undefined' errors at startup