at IDE start: the first tab is selected after restore (not the last one) (should be session saved)
revised the handling of script filenames and the eval of thepy-scriptfile in the bundle