Big big update

-Persistent friends list
-Improved authentication (i.e. check against state)
-GUI feedback for errors (friend offline, failed authentication)
-Other small miscellanea