Fixed potential issues due to referring to the main window by index rather than name.
Fixed star button position which was using a script function inside a tell block, required a “my” designator.