Cleaned up the code for storing bool user settings.
Made the main 3d view remember what tab it is on while switching models.