Fix some minor mode autoload bugs on daemon startup.