Added fast-edit links. Cleaned up a lot of repeated code.