Index: /trunk/aux/cocotron/win32/cocotron/AppKit.framework/Resources/Info.plist
===================================================================
--- /trunk/aux/cocotron/win32/cocotron/AppKit.framework/Resources/Info.plist	(revision 14418)
+++ /trunk/aux/cocotron/win32/cocotron/AppKit.framework/Resources/Info.plist	(revision 14419)
@@ -6,15 +6,23 @@
 	<string>English</string>
 	<key>CFBundleExecutable</key>
-	<string>AppKit</string>
+	<string>${EXECUTABLE_NAME}</string>
+	<key>CFBundleIconFile</key>
+	<string></string>
 	<key>CFBundleIdentifier</key>
-	<string>org.cocotron.AppKit</string>
+	<string>com.yourcompany.${PRODUCT_NAME:rfc1034Identifier}</string>
 	<key>CFBundleInfoDictionaryVersion</key>
 	<string>6.0</string>
+	<key>CFBundleName</key>
+	<string>${PRODUCT_NAME}</string>
 	<key>CFBundlePackageType</key>
 	<string>FMWK</string>
+	<key>CFBundleShortVersionString</key>
+	<string>1.0</string>
 	<key>CFBundleSignature</key>
-	<string>OBJC</string>
+	<string>????</string>
 	<key>CFBundleVersion</key>
-	<string>1.0</string>
+	<string>1</string>
+	<key>NSPrincipalClass</key>
+	<string></string>
 </dict>
 </plist>
Index: /trunk/aux/cocotron/win32/cocotron/AppKit.framework/Resources/StandardKeyBindings.keybindings
===================================================================
--- /trunk/aux/cocotron/win32/cocotron/AppKit.framework/Resources/StandardKeyBindings.keybindings	(revision 14418)
+++ /trunk/aux/cocotron/win32/cocotron/AppKit.framework/Resources/StandardKeyBindings.keybindings	(revision 14419)
@@ -1,5 +1,5 @@
 {
 	/* let's try this format! (Apple is using a gigantic XML database...) */
-	"0x0008" = "deleteBackward:";			/* <- (backspace? heh) */
+	"0x0008" = "deleteBackward:";			/* (backspace? heh) */
 	"0x001B" = "cancel:";				/* Escape */
 	"0x0009" = "insertTab:";
Index: /trunk/aux/cocotron/win32/cocotron/cocotron-r1717c90b4d27.patch
===================================================================
--- /trunk/aux/cocotron/win32/cocotron/cocotron-r1717c90b4d27.patch	(revision 14419)
+++ /trunk/aux/cocotron/win32/cocotron/cocotron-r1717c90b4d27.patch	(revision 14419)
@@ -0,0 +1,67 @@
+diff -r 1717c90b4d27 AppKit/NSApplication.m
+--- a/AppKit/NSApplication.m	Fri Nov 05 16:09:59 2010 -0400
++++ b/AppKit/NSApplication.m	Sun Nov 07 17:19:19 2010 -0500
+@@ -415,6 +415,10 @@
+        needsUntitled = [_delegate applicationShouldOpenUntitledFile: self];
+    }
+ 
++   if(needsUntitled && _delegate && [_delegate respondsToSelector: @selector(applicationOpenUntitledFile:)]) {
++     needsUntitled = ![_delegate applicationOpenUntitledFile: self];
++   }
++
+    if(needsUntitled && controller && ![controller documentClassForType:[controller defaultType]]) {
+        needsUntitled = NO;
+    }
+@@ -477,11 +481,17 @@
+ 
+ -(void)run {
+     
+-   NSAutoreleasePool *pool=[NSAutoreleasePool new];
+-   [self finishLaunching];
+-   [pool release];
+-   
+-   _isRunning=YES;
++  static BOOL didlaunch = NO;
++  NSAutoreleasePool *pool;
++
++  _isRunning=YES;
++
++  if (!didlaunch) {
++    didlaunch = YES;
++    pool=[NSAutoreleasePool new];
++    [self finishLaunching];
++    [pool release];
++  }
+    
+    do {
+        pool = [NSAutoreleasePool new];
+diff -r 1717c90b4d27 AppKit/NSDocument.m
+--- a/AppKit/NSDocument.m	Fri Nov 05 16:09:59 2010 -0400
++++ b/AppKit/NSDocument.m	Sun Nov 07 17:19:19 2010 -0500
+@@ -21,6 +21,8 @@
+ 
+ @implementation NSDocument
+ 
++static int untitled_document_number = 0;
++
+ +(NSArray *)readableTypes {
+    int             i;
+    NSArray        *knownDocTypes = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleDocumentTypes"];
+@@ -98,7 +100,7 @@
+       _fileURL=nil;
+       _fileType=nil;
+       _changeCount=0;
+-      _untitledNumber=0;
++      _untitledNumber=untitled_document_number++;
+       _hasUndoManager=YES;
+       _activeEditors=[NSMutableArray new];
+     }
+@@ -340,7 +342,7 @@
+ {
+   if(_fileURL==nil) 
+     {
+-      if(_untitledNumber > 1)
++      if(_untitledNumber != 0)
+         return [NSString stringWithFormat:@"Untitled %d", _untitledNumber];
+       else
+         return @"Untitled";
Index: unk/aux/cocotron/win32/cocotron/cocotron-r59942ee67d15.patch
===================================================================
--- /trunk/aux/cocotron/win32/cocotron/cocotron-r59942ee67d15.patch	(revision 14418)
+++ 	(revision )
@@ -1,67 +1,0 @@
-diff -r 59942ee67d15 AppKit/NSApplication.m
---- a/AppKit/NSApplication.m	Fri Sep 03 14:44:12 2010 -0400
-+++ b/AppKit/NSApplication.m	Tue Sep 07 18:15:00 2010 -0400
-@@ -418,6 +418,10 @@
-        needsUntitled = [_delegate applicationShouldOpenUntitledFile: self];
-    }
- 
-+   if(needsUntitled && _delegate && [_delegate respondsToSelector: @selector(applicationOpenUntitledFile:)]) {
-+     needsUntitled = ![_delegate applicationOpenUntitledFile: self];
-+   }
-+
-    if(needsUntitled && controller && ![controller documentClassForType:[controller defaultType]]) {
-        needsUntitled = NO;
-    }
-@@ -472,11 +476,17 @@
- 
- -(void)run {
-     
--   NSAutoreleasePool *pool=[NSAutoreleasePool new];
--   [self finishLaunching];
--   [pool release];
--   
--   _isRunning=YES;
-+  static BOOL didlaunch = NO;
-+  NSAutoreleasePool *pool;
-+
-+  _isRunning=YES;
-+
-+  if (!didlaunch) {
-+    didlaunch = YES;
-+    pool=[NSAutoreleasePool new];
-+    [self finishLaunching];
-+    [pool release];
-+  }
-    
-    do {
-        pool = [NSAutoreleasePool new];
-diff -r 59942ee67d15 AppKit/NSDocument.m
---- a/AppKit/NSDocument.m	Fri Sep 03 14:44:12 2010 -0400
-+++ b/AppKit/NSDocument.m	Tue Sep 07 18:15:00 2010 -0400
-@@ -21,6 +21,8 @@
- 
- @implementation NSDocument
- 
-+static int untitled_document_number = 0;
-+
- +(NSArray *)readableTypes {
-    int             i;
-    NSArray        *knownDocTypes = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleDocumentTypes"];
-@@ -98,7 +100,7 @@
-       _fileURL=nil;
-       _fileType=nil;
-       _changeCount=0;
--      _untitledNumber=0;
-+      _untitledNumber=untitled_document_number++;
-       _hasUndoManager=YES;
-       _activeEditors=[NSMutableArray new];
-     }
-@@ -340,7 +342,7 @@
- {
-   if(_fileURL==nil) 
-     {
--      if(_untitledNumber > 1)
-+      if(_untitledNumber != 0)
-         return [NSString stringWithFormat:@"Untitled %d", _untitledNumber];
-       else
-         return @"Untitled";
