You create the window and then resize it manually and it crashes? I could imagine that there is some problem when deleting and recreating windows, or when unhiding the window using the mac menu. Please tell me server name and script which I should add to myself so that I can debug it.