load persps only when at least one frame exists to avoid asking questions by emacs daemon during startup process.