Glass: set mime type on upload and send stop signal