wired OpenScratchAction to Ide; refactoring check for existing scratch file