Check that there's something in the username buffer before reading it
Move initialisation to fuse init method
Process spotify session events

Still not doing anything with them, though. I also added a logging
function which is really stupid. We need a variadic form, and it
should be thread safe. Come to think of it, we should probably
adapt the handle_error*() macros to work with this as well.