How to make F12 invoke a render tab and not open a new window?
If you go to: 

Edit > Preferences > Interface,  

under the Editors drop down there is another drop down called Temporary Windows. If you open this drop down, you will see a setting for Render in. If you change this to image editor, instead of it opening a new window it will change your editor type to image editor.