Add a preferences window and a preference for expanding squads when selected. Fixes #42.