Cleanup of link stuff, mainly link inActivity