improve Application.READY event handling