Set various properties on session, according to the commandline arguments given to get_option_group option group.
session
a Session to set option upon