Remove one level of indentation from the main function by jumping to the end immediately if the configuration list is empty. Other minor style cleanups.
Remove one level of indentation from the main function by jumping to the end immediately if the configuration list is empty. Other minor style cleanups.