added console redirect to our gui