clean up Nanostring constructor; add threshold code; fix bugs in deduplicating primers