Fix some brainthings, fix link handling