Close the pool in the fileparser
Add a hack to allow selecting the ids of mols with arbitrary angles

This is an issue with the HTML standard only allowing [A-Z][a-z]-_
for the possible characters in the id of an element. To get around
this issue, this fix replaces the parens in with 'z'.