improved the thread dumps generated during servr freezes

- added missing line breaks
- changed the name from the unix timestamp to a proper date
- moved the main thread to the top
made the freeze threshold configurable and notify the listeners only once per freeze