Added a console, cleaned things up.