qBugfix invalid access to local variable $application
Merge pull request #23 from wagnert/master

qBugfix invalid access to local variable $application