Optimised the Processor so that new levels and children don't need to be re-created for just a change in the levels type. (ie Chapter -> Preface)
Updated the parser to throw errors when duplicate attributes are defined.
Added a check for a negative pubsnumber
Fixed a bug that would cause a StringOutOfBounds exception to be thrown.
Fixed a bug that allowed targets to be a negative number.
Added a better fix for the StringOutOfBounds problem.
Fixed a bug to properly detect levels based on node type.