dclark87's centrality changes and other fixes into 0.3.5