clean-up
parser sets extension flags earlier now, closes #98