* added proper formatting; * moved identical code into separate method (have I already said that I hate copy/paste?); * fixed several leaks; * added more informative error messages. More to come...
* added proper formatting; * moved identical code into separate method (have I already said that I hate copy/paste?); * fixed several leaks; * added more informative error messages. More to come...