bug fixing

application.launchAppControl() adding reasonable mime type checking