Consensus string & other cleaning

Consensus string implemented; other random cleaning up