Began work on implementing the configuration

Added flush-to-stdout function to console queue

minor tweaks to UI definition

Added on-failure cleanup function to main

tweaks throughout user_interface