Correct "New Sketch" behavior.
Fix old file showing in undo history, enable code area focus