bug fixing

application.launchAppControl() adding reasonable mime type checking
Merge pull request #315 from zivchang/next

bug fixing