fixed bugs in crossing and generation code
merged gui updates and bug fixes