Little fixes.
Changed required files check logic in application init.
Merge pull request #27 from tuomasvapaavuori/fixes

Fixes