(Need more caffeine) --HG-- branch : trunk
--HG-- branch : trunk
- Get rid of some potential memory leaks and lingering connections issues. - Code style cleanup where applicable. Please give proper feedback and let me know how she fares. --HG-- branch : trunk