added basic Dewey handling

If a Dewey number is long (more than 6 digits total) the number is split at the decimal to avoid weird wrapping, e.g.
123.456
7