Event handling would be nice, for instance:

On OPEN:Windowname: do stuff

Instead of having to make loops that scan every x seconds for something. on OPEN would be one suggestion but there can be many more.

Although this might require the script to be loaded in Kix... Just an idea.