I tried to run your script. It encrypts, but dosn't save the encrypted
file(actually it saves a "0" length file).
I also had to edit the button captions, to shorten them down, else
the AES buttons get squashed off of the menus.
I like the basic operation though.