Mantis 6214: memory leak
Mantis 5861: No point in using result when it is not set before
Mantis 5891: Proper display of popup when near the edges
Mantis 5962: Must not always use the first balloon hint
Mantis 6005: Use a TApplicationEvents instance to change MaxWidth to our property when used as an application wide handler.