Ok, I now know the crash was related to using the non-standard language file.
But I have found something else. I was trying to play around with Controller scripts, but it doesn't seem to work. I took the example code from the documentations:
Sub Object_OnScriptEnter
DesktopX.RegisterController Object.Name
End Sub
Function OnControl(lType, lCode)
'added this code my self - never triggers
script.msgbox lType & lCode
Object.Text = "lType: " & lType & vbcrlf & "lCode: " & lCode
End Function
'test code to see if the object processed scripting at all
Function Object_OnLButtonUp(x,y,d)
Object.Text = x & y & d 'this triggers
End Function