Adjusted Summon linking syntax (works with versions 1 and 2), made some other minor library changes.