General fixes

Completed redirection, console has the real viewmodel, console now
writes output properly