Integration with sorceforge branch: maxEntityLength calculation (probably not needed after merge complete)

also allow for the ';' or not when looking up specialentity's - once again to help with integration.