Unused code removed; minor edits
Created link type field; added variables link to study page