For LordDragon. Save sidebar state between restarts.