Made nth more versatile, includes notes and relics.
Cleaned up code, removed notes and relics.