Some fixes added to console. Still needs a lot of work to be usable.