Bug fixes:
variable segTable passing through a method caused loss of data.
fragTable is now a List (previously was a Dictionary); First index is now 0 and not 1.