improved hint positioning, comment timeout response
unified plugin factory for hooks