make chart robust by disabling button
fix bug with minsize
added total nodes for depth 2
switching views works, code is messy