fixed menu; rewrote repo result loops; rewrote attribute layout