Remade console <-> shell communication. Still bunch of errors not sure
why.