Works great, thanks!
Another question. Well, three linked questions. How can you create a window resizable in width but not height? Can you set a default, maximum and minimum size for it? And can you set a control (like a text box) width to 100%, so that it stretches across the whole window all the time?