Fix memory leak from missing virtual destructors.
Appease the compilers when in release mode.
Minor efficiency tweaks in the sr_parser + feature bugfix.