Added bar-chart histogram (#2). Other minor improvements.