Automatically close the first empty tab

Automatically close the only empty tab if a new tab with a proper file
is opened.
Make MDEdit setup functions inline

Make MDEdit::setupToolbar and MDEdit::setupStatusbar are inline
functions