Fixed bug with queue refreshing after signing out.
Misc changes.