bug fix (conditional panel)
cleaned up print2log statements