Ported setprimary function
Port setuserdestination
Port selectuserdestination
Ported noselecteduserdestination
Better handling of the initial logged state
Support options page