Fixed YAML, more work towards separate settings

Commented out stuff that will be removed eventually. The whole YAML file
is now loaded with one function. Made enable_exit_input an argument in
end_script(), it defaults to True. Removed some CamelCase (how do I keep
missing it?).