Moved client-side menu logic to menus.js
"Unsubscribe" is now partially done at request, partially in a
background task
Added checkmarks to selected menu options