expand tabs to spaces
convert to Python 3
add --autoscale option
fix incorrect choice of binary autoscaling for fractional values
avoid peculiarities with readline and shell prompt