Added initial global option parsing.