Reworked some gui code to use layouts. Removed preferences classes and replaced with modern substitutes. Replaced SpinSlider with a new one derived from SeekSlider. Replaced YPreferences with Settings. Renamed some files.