Added generic function to parse flags. Added tmRNA type. Multiple minor modifications.