output visualization re-introduced. major cruft removal