Sync and display source citations. Code is still ugly, but this will be fixed later.