Update App.php

Fix a few bugs.
Merge pull request #1 from BeSnappy/master

Update App.php