Added idle time notification to message handlers, automatic log rotation