Improved windowClosing handling. Added SuccessfullFrame operation frame.