Protect from empty project situation.
Merge pull request #38 from busykai/no-project-on-appinit

Protect from empty project situation.