What version of Safari are you on ?
For you first query, keep the Cmd key pressed while clicking a link. The link opens up in the Tab instead of a new window.
For your second query, navidate to Safari >> Preferences >> Tabs >> and uncheck the "Select tabs and windows as they are created".
I hope that helps.