Looks good camotbik...
Good job!
Also, I don't know if you like this, but I've recently tried this out with my crafter and loved it.
You can change your loop to something like:
gosub menu
repeat
if #menubutton <> N/A
gosub #menubutton
until #false
Then, you create separate subs for each button, i.e. sub EUOButton1, etc.
Also, you could add the stats menu to the same window as the setup menu, and add an option for the user to pause and change settings, without having to restart the script...
Cheers!