Added comments. Autorename and custom handler with custom event features.