Refactor use of global env vars to associative options array
Move default_opts initialization out of single statement to get rid of ugly \s
Now actually recalls options from file