Truncate too long policy names.

see #513
Support for high precision timers added.

fixes #516