Now when I start emacs without the daemon it starts up in the scratch buffer and elfeed has not started, even in a background buffer. When I start it with emacsclient -a "" -c "$@" the daemon seems to start but a frame never pops up. In the terminal I get this error:

I am new to customizing emacs with elisp and could use some help here. Does that error mean that my start-elfeed function has the wrong number of arguments or am I using the after-make-frame-functions hook wrong?

Now it calls (elfeed) but I don't think it is finished when it continues on to the (switch-to-buffer "*elfeed-search*") function. The *scratch* buffer is still the initial buffer but now there is a buffer called *elfeed-search*, with the RSS feeds in it. It seems like the switch-to-buffer call is being skipped over.