Fix editserver configuration
Fix auto-modes for editing external files