v0.3, fix divide-by-zero, change tabs to space