After two months testing the new script editor, I still find its layout quite wasteful and distracting. If I might add to my previous suggestions above @eirannejad, here’s a new mockup that maintains all features and menus:
While substantially decreasing wasted pixels (red) and increasing the editor/console real estate (green):
Specifically, here are the edits suggested with this new mockup: