minor updates, formatting changes
output respects the `only links` toggle. Added some todos to remind me what to work on.