Added simple console, fixed up shutdown, added config.