How do you give a custom name to a editor window? Written in C#
// Add menu named "My Window" to the Window menu
[MenuItem ("Custom Name Here")]
static void Init () {
// Get existing open window or if none, make a new one:
MyWindow window = (MyWindow)EditorWindow.GetWindow (typeof (MyWindow));
}