Use form.Text instead of form.Title. See this start-up guide
Edit: I don't think the script crashes, but merely exits instantly, since the form is non-modal and no controls or handlers are defined. Replace form.Show
with form.ShowDialog
for the window to persist until the user closes it.