Problem with undo solved...ANother problem of openeing temp file only when effect applied to be solved.